package com.ferry.transport.api;

public class Directory {

    public String group;
    private String serviceProviderName;
    private String version;

    public String directoryString() {

        StringBuilder buf = new StringBuilder();
        buf.append(getGroup())
                .append('-')
                .append(getServiceProviderName())
                .append('-')
                .append(getVersion());

        String directoryCache = buf.toString();
        return directoryCache;
    }

    public String getGroup() {
        return group;
    }

    public void setGroup(String group) {
        this.group = group;
    }

    public String getServiceProviderName() {
        return serviceProviderName;
    }

    public void setServiceProviderName(String serviceProviderName) {
        this.serviceProviderName = serviceProviderName;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }
}